<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ActivateYourGlutes.Model.Contracts.MeasurementType>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Confirm Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div id="subheader">
        <h2>Confirm Delete</h2>
        <div>            
            <%= Html.ActionLink("Back to List", MVC.MeasurementType.Index()) %>
        </div>
    </div>
    <div>
    <p>Are you sure you want to delete the measurement type <%= Html.Encode(ViewData.Model.Description) %>?</p>
    <% using(Html.BeginForm("Delete", "MeasurementType", new { id = ViewData.Model.MeasurementTypeId })) { %>
    <input type="submit" value="Yes" name="response" /><input type="submit" value="No" name="response" />
    <% } %>
    </div>
</asp:Content>
